//
//  iExpenseAppDelegate.h
//  iExpense
//
//  Created by WU, Zhenyu on 7/1/09.
//  Copyright National Instruments 2009. All rights reserved.
//
@class Setting;

@interface iExpenseAppDelegate : NSObject <UIApplicationDelegate> {

    NSManagedObjectModel *managedObjectModel;
    NSManagedObjectContext *managedObjectContext;	    
    NSPersistentStoreCoordinator *persistentStoreCoordinator;
	
	IBOutlet UITabBarController		*rootTabBarController;
	IBOutlet UINavigationController *expenseNavController;

    UIWindow *window;
}

@property (retain, nonatomic) UITabBarController		*rootTabBarController;
@property (retain, nonatomic) UINavigationController	*expenseNavController;



- (IBAction)saveAction:sender;

@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;

@property (nonatomic, readonly) NSString *applicationDocumentsDirectory;

@property (nonatomic, retain) IBOutlet UIWindow *window;

@end

